{% extends "base.html" %} {% block title %}Write Article - Doctor Dashboard{% endblock %} {% block content %}

Write New Article

Share your medical expertise and help patients with health insights

Article Details
{{ form.hidden_tag() }}
{{ form.title.label(class="form-label fw-bold") }} {{ form.title(class="form-control form-control-lg", placeholder="Enter article title...") }} {% if form.title.errors %}
{% for error in form.title.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.category.label(class="form-label fw-bold") }} {{ form.category(class="form-control form-control-lg") }} {% if form.category.errors %}
{% for error in form.category.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.featured_image(class="form-control", id="featured-image-input", onchange="previewImage(this)") }}
Choose a high-quality landscape image (1200x630 recommended).
{% if form.featured_image.errors %}
{% for error in form.featured_image.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.excerpt.label(class="form-label fw-bold") }} {{ form.excerpt(class="form-control", rows="2", placeholder="Provide a brief, catchy summary for the listing page...") }} {% if form.excerpt.errors %}
{% for error in form.excerpt.errors %}
{{ error }}
{% endfor %}
{% endif %}
{% if form.content.errors %}
{% for error in form.content.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.references(class="form-control", rows="3", placeholder="List your sources, studies, or clinical guidelines here...") }}
Citing credible sources builds trust with patients and other medical professionals.
{% if form.references.errors %}
{% for error in form.references.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.tags.label(class="form-label fw-bold") }} {{ form.tags(class="form-control", placeholder="e.g., blood pressure, heart health, symptoms") }}
Separate tags with commas.

{{ form.meta_title.label(class="form-label") }} {{ form.meta_title(class="form-control", placeholder="Article title for Google results") }}
Keep it between 50-60 characters if possible.
{{ form.meta_description.label(class="form-label") }} {{ form.meta_description(class="form-control", rows="3", placeholder="The short blurb that appears in Google search results") }}
Target 150-160 characters.
Moderation Notice

Upon submission, your article will be sent to the Admin for review, changing its status to Pending.

Writing Tips
Clear Purpose

Define the main message and what readers will learn.

Simple Language

Use clear, jargon-free language for better understanding.

Structure

Use headings, bullet points, and short paragraphs.

Accuracy

Ensure all medical information is accurate and up-to-date.

Guidelines
  • Provide evidence-based medical information
  • Include disclaimers for general advice
  • Encourage readers to consult doctors
  • Avoid specific medical diagnoses
  • Keep content professional and helpful
Article Stats
Characters: 0
Words: 0
Reading Time: 0 min
{% endblock %}